package com.dave.gd.core.vm;

import java.io.Serializable;
import java.util.List;

public class EasyUIResultModel implements Serializable {
    
    /**
     * .
     */
    private static final long serialVersionUID = -5642859666618648397L;
    /**
     * 后台提示信息
     */
    private String msg;
    /**
     * 返回成功与否
     */
    private boolean flag = false;
    /**
     * 返回的对象
     */
    private Object obj;
    
    /*****json格式****/
    private int total = 0;//总记录数
    
    /**
     * 返回的标题 默认为 温馨提示     this is james add at 2015.4.2
     */
    private String title="温馨提示";
    /**
     * 返回的list
     */
    private List<?> rows;//
    
    public String getMsg() {
        return msg;
    }
    
    public void setMsg(String msg) {
        this.msg = msg;
    }
    
    public boolean isFlag() {
        return flag;
    }
    
    public void setFlag(boolean flag) {
        this.flag = flag;
    }
    
    public Object getObj() {
        return obj;
    }
    
    public void setObj(Object obj) {
        this.obj = obj;
    }
    
    public int getTotal() {
        return total;
    }
    
    public void setTotal(int total) {
        this.total = total;
    }
    
    public List<?> getRows() {
        return rows;
    }
    
    public void setRows(List<?> rows) {
        this.rows = rows;
    }

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
    
    
}
